package com.lee.ddl;

import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.elasticsearch.core.ElasticsearchRestTemplate;
import org.springframework.data.elasticsearch.core.query.IndexQuery;

/**
 * @Description TODO
 * @Author winston
 * @DateTime 2022/3/15
 */
@SpringBootTest
public class IndexOperation {
    @Autowired
    private ElasticsearchRestTemplate elasticsearchRestTemplate;

    @Test
    public void deleteIndex() {
//        elasticsearchRestTemplate.delete
    }
}
